// 设备类别管理
import {
    ajaxPostBack
} from '@/utils/data/request'

// 类别列表
export function catelist() {
    return ajaxPostBack("device/cate-list", { }, {
        cookies: ['yard_sn']
    })
}

// 设备事件列表
export function actlist({ cate_code }: any) {
    return ajaxPostBack("device/cate-act-list", { cate_code }, {
        cookies: ['yard_sn']
    })
}